package cn.chitanda.weather.data.network

import cn.chitanda.weather.data.weather.HeWeather
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query

interface WeatherService {
    @GET("s6/weather/")
    fun getWeather(@Query("location") location: String, @Query("key") key: String): Call<HeWeather>

    @GET("s6/weather/")
    fun getWeatherList(@Query("location") location: List<String>, @Query("key") key: String): Call<List<HeWeather>>
}